package com.lanxin.hr.service;

import com.lanxin.hr.entity.ZzAccount;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-07-26
 */
public interface IZzAccountService extends IService<ZzAccount> {

    //检查账号是否已经存在
    public ZzAccount getAccountByUsername(String username);

    //根据员工id查询账号信息
    public ZzAccount getAccountByEid(Integer eid);

    //更新账号信息
    public int updateAccountById(ZzAccount account);

    //删除用户账号
    public int deleteAccountById(Integer eid);

    //修改密码
    public int updatePassword(ZzAccount account);
}
